class CashCard
{
String n;
int b;
int o;

CashCard(String n,int b,int o)
{
this.n=n;
this.b=b;
this.o=o;
}
}
public class CardApp
{
public static void main(String[] args)
{
CashCard[] cards={new CashCard("A001",500,0),new CashCard("A002",300,0),new CashCard("A003",1000,1)};
for(CashCard card:cards)
{
System.out.printf("(%s, %d, %d, )",card.n,card.b,card.o);
}
}
}
